package com.eureka.feign.api;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value ="service-h1")
public interface SchedualServiceHi {
    @RequestMapping(value = "/EurekaClient/hi", method = RequestMethod.GET)
    String sayHiFromClientOne(@RequestParam(value = "name") String name);
    
    /**
     * 
     * 查询用户名
     */
    @RequestMapping(value = "/EurekaClient/queryUser")
    Map<String,Object>queryUserInfo(@RequestParam(value = "username") String username);
}